package com.ken.springcloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <ul>
 * <li>Title: Dept</li>
 * <li>Description: TODO </li>
 * </ul>
 *
 * @author swc
 * @date 2021-08-25 14:24
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)//链式写法
public class Dept  implements Serializable {//传输数据 必须要Serializable 序列化

    private Long deptNo;

    private String deptName;

    private String dbSource;

    public Dept(String deptName) {
        this.deptName = deptName;
    }
}
